module.exports = {
  devServer: {
    open: true,
    host: 'localhost',
    port: 8080,
    https: false,
    proxy: {
     '/api': {
      target: 'http://localhost:80/yukino_api/',//这里写上后台的接口
      ws: true,
      changeOrigin: true, // 允许跨域
      pathRewrite: {
        '^/api': ''
      }
    }
    },
  }
 }
 